using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using 道路运输从业人员无纸化考试系统.Properties;

namespace 道路运输从业人员无纸化考试系统
{
    public class SJLXForm : Form
    {
        private TimeSpan ts = new TimeSpan(-1, 59, 60);

        private DataTable dtAll = new DataTable();

        private double zongfen = 0.0;

        private double fenshu = 0.0;

        private Dictionary<int, double> dicFenzhi = new Dictionary<int, double>();

        private Dictionary<int, string> dicBans = new Dictionary<int, string>();

        private Dictionary<int, string> dicans = new Dictionary<int, string>();

        private int nump = 1;

        private IContainer components = null;

        private Panel panel2;

        private Panel panel3;

        private Panel panel4;

        private Panel panel5;

        private Panel plS;

        private Label label1;

        private Panel panel9;

        private Panel panel7;

        private Label lbl_time;

        private Timer dtimes;

        private Panel panel6;

        private Panel panel8;

        private Panel panel11;

        private Label label15;

        private TextBox txt_result;

        private Label label14;

        private Label label16;

        private Button btn_DOWN;

        private Button btn_UP;

        private Panel panel12;

        private Button btnExit;

        private Label lblZQDA;

        private CheckBox cbXSDA;

        private Label label7;

        private Panel panel;

        private Panel panel10;

        private Label lblSubject;

        private Panel imageIcon;

        private Label lblf;

        private Label lbltype;

        private Label label10;

        private Panel paXZT;

        private Label lbXC;

        private Label lbXA;

        private Label lbXB;

        private Panel plPDT;

        private Label label12;

        private Label label13;

        private Panel paDXT;

        private Label lbDC;

        private Label lbDA;

        private Label lbDB;

        private Label label3;

        private Label label2;

        private Panel plQJ;

        private Label lblQJ;

        private Label label4;

        private Label label5;

        private Label label11;

        private Label lblQJcount;

        private Label label18;

        private Panel plZJ;

        private Label lblZJ;

        private Label label19;

        private Label label20;

        private Label label21;

        private Label lblZJcount;

        private Label label22;
        private Label lbDD;
        private Label lblJieShi;
        private Button btn_submit;

        public SJLXForm()
        {
            InitializeComponent();
        }

        private void MainForm_Load(object sender, EventArgs e)
        {
            dtimes.Enabled = true;
            if (GlobamParms.Pmode == "ZJ")
            {
                plZJ.Visible = true;
                plQJ.Visible = false;
                lblZJ.Text = GlobamParms.ZJ;
            }
            else if (GlobamParms.Pmode == "QJ")
            {
                plZJ.Visible = false;
                plQJ.Visible = true;
                lblQJ.Text = GlobamParms.QJ;
            }
            GetSubjects();
            bindLabel();
            bindTopic(dtAll, 1);
            txt_result.Select();
        }

        private void bindLabel()
        {
            for (int i = 1; i <= dicBans.Count; i++)
            {
                Label lb = new Label();
                lb.Name = i.ToString();
                lb.Text = i.ToString();
                lb.Size = new Size(25, 18);
                lb.ForeColor = Color.PaleGoldenrod;
                lb.TextAlign = ContentAlignment.MiddleCenter;
                if (i % 9 != 0)
                {
                    lb.Top = i / 9 * 23;
                    lb.Left = i % 9 * 22;
                }
                else
                {
                    lb.Top = (i / 9 - 1) * 23;
                    lb.Left = 198;
                }
                lb.Click += lb_Click;
                lb.MouseEnter += GlobamParms.label_MouseEnter;
                lb.MouseLeave += GlobamParms.label_MouseLeave;
                plS.Controls.Add(lb);
            }
        }

        private void lb_Click(object sender, EventArgs e)
        {
            Label lb = sender as Label;
            lb.MouseEnter -= GlobamParms.label_MouseEnter;
            lb.MouseLeave -= GlobamParms.label_MouseLeave;
            lb.Image = Resources.quan;
            GlobamParms.labelClick(plS, lb);
            if (lbltype.Text == "多选题" && txt_result.Text.Trim().Length == 1)
            {
                MessageBox.Show("本题为多选题", "提示");
                return;
            }
            saveAns(nump);
            txt_result.Text = "";
            nump = int.Parse(lb.Text);
            saveAns(nump);
            bindTopic(dtAll, nump);
            txt_result.Focus();
        }

        private void bindTopic(DataTable dt, int NO)
        {
            if (dt.Rows.Count < 1)
            {
                return;
            }
            lblSubject.Text = NO + "." + dt.Rows[NO - 1]["title"].ToString();
            lbltype.Text = dt.Rows[NO - 1]["type"].ToString();
            lblf.Text = "分数为" + dt.Rows[NO - 1]["fenzhi"].ToString() + "分)";
            lblJieShi.Text = dt.Rows[NO - 1]["jieshi"].ToString();
            if (lbltype.Text == "判断题")
            {
                paXZT.Visible = false;
                paDXT.Visible = false;
                plPDT.Visible = true;
                lblZQDA.Text = dt.Rows[NO - 1]["choiceP"].ToString();
            }
            else if (lbltype.Text == "单选题")
            {
                paDXT.Visible = false;
                plPDT.Visible = false;
                paXZT.Visible = true;
                lbXA.Text = "1." + dt.Rows[NO - 1]["choiceA"].ToString();
                lbXB.Text = "2." + dt.Rows[NO - 1]["choiceB"].ToString();
                lbXC.Text = "3." + dt.Rows[NO - 1]["choiceC"].ToString();
                lblZQDA.Text = dt.Rows[NO - 1]["key"].ToString();
            }
            else if (lbltype.Text == "多选题")
            {
                plPDT.Visible = false;
                paXZT.Visible = false;
                paDXT.Visible = true;
                lbDA.Text = "1." + dt.Rows[NO - 1]["choiceA"].ToString();
                lbDB.Text = "2." + dt.Rows[NO - 1]["choiceB"].ToString();
                lbDC.Text = "3." + dt.Rows[NO - 1]["choiceC"].ToString();
                lbDD.Text = "4." + dt.Rows[NO - 1]["choiceD"].ToString();
                lblZQDA.Text = dt.Rows[NO - 1]["key"].ToString();
            }
            if (dicans.ContainsKey(NO))
            {
                Label lb = plS.Controls[NO - 1] as Label;
                if (lb.BackColor == Color.Orange)
                {
                    cbXSDA.Checked = true;
                }
                else
                {
                    cbXSDA.Checked = false;
                }
                txt_result.Text = dicans[NO];
            }
            if (dt.Rows[NO - 1]["image"].ToString() != "")
            {
                //string imagepath = Application.StartupPath + "\\data\\images\\" + dt.Rows[NO - 1]["image"].ToString() + ".jpg";
                //string imagepath = Path.Combine(Application.StartupPath, dt.Rows[NO - 1]["image"].ToString());
                //if (File.Exists(imagepath))
                //{
                //    imageIcon.BackgroundImage = Image.FromFile(imagepath);
                //}
                Image img = GlobamParms.GetAssmblyImg(dt.Rows[NO - 1]["image"].ToString());
                if (img != null)
                {
                    imageIcon.BackgroundImage = img;
                }
                imageIcon.BackgroundImageLayout = ImageLayout.Stretch;
            }
            else
            {
                imageIcon.BackgroundImage = null;
            }
        }

        private void GetSubjects()
        {
            string[] attributs =
            {
                "no",
                "title",
                "image",
                "choiceA",
                "choiceB",
                "choiceC",
                "choiceD",
                "key",
                "choiceP",
                "type",
                "mokuai",
                "zhangjie",
                "fenzhi",
                "jieshi"
            };
            //DataTable dt2 = null;
            ////dt2 = GlobamParms.ReadXmlToDataTable(Application.StartupPath + "\\data\\DataXMLFile.xml", "topic", attributs);
            //dt2 = GlobamParms.ReadXmlToDataTable(GlobamParms.GetAssemblyStream(), "topic", attributs);
            //DataTable dtbl = GetZhangjie();
            //int zcount = 0;
            //for (int j = 0; j < dtbl.Rows.Count; j++)
            //{
            //    zcount += int.Parse(dtbl.Rows[j]["count"].ToString());
            //}
            //DataTable dtp4 = null;
            //DataTable dta = new DataTable();
            //dt2.DefaultView.RowFilter = GlobamParms.isWhere;
            //dtp4 = randomData(dt2);
            //dtp4 = CreateTable(dt2.DefaultView);
            //dtp4 = topCountData(dtp4, zcount);
            //dta.Merge(dtp4);
            //dtAll = GlobamParms.StorData(dta).Copy();
            DataTable dt2 = null;
            //dt2 = GlobamParms.ReadXmlToDataTable(Application.StartupPath + "\\data\\DataXMLFile.xml", "topic", attributs);
            dt2 = GlobamParms.ReadXmlToDataTable(GlobamParms.GetAssemblyStream(), "topic", attributs);
            DataTable dtbl = GetZhangjie();
            DataTable dtp3 = null;
            DataTable dta = new DataTable();
            for (int j = 0; j < dtbl.Rows.Count; j++)
            {
                dt2.DefaultView.RowFilter = " zhangjie='" + dtbl.Rows[j]["zhangjie"] + "' and type='" + dtbl.Rows[j]["type"] + "' ";
                dtp3 = randomData(CreateTable(dt2.DefaultView));
                dtp3 = topCountData(dtp3, int.Parse(dtbl.Rows[j]["count"].ToString()));
                dta.Merge(dtp3);
            }
            dtAll = GlobamParms.StorData(dta).Copy();
            string text3 = lblZJcount.Text = (lblQJcount.Text = "共" + dtAll.Rows.Count + "题");
            for (int j = 0; j < dtAll.Rows.Count; j++)
            {
                if (dtAll.Rows[j]["type"].ToString() == "判断题")
                {
                    dicBans.Add(j + 1, dtAll.Rows[j]["choiceP"].ToString());
                }
                else
                {
                    string key = dtAll.Rows[j]["key"].ToString();
                    dicBans.Add(j + 1, dtAll.Rows[j]["key"].ToString());
                }
                dicans.Add(j + 1, "");
                dicFenzhi.Add(j + 1, double.Parse(dtAll.Rows[j]["fenzhi"].ToString()));
                zongfen += double.Parse(dtAll.Rows[j]["fenzhi"].ToString());
            }
        }

        private DataTable randomData(DataTable ldt)
        {
            Random r = new Random();
            for (int MAX = ldt.Rows.Count - 1; MAX > 0; MAX--)
            {
                int newPos = r.Next(0, MAX);
                DataRow dr = ldt.NewRow();
                dr.ItemArray = ldt.Rows[newPos].ItemArray;
                ldt.Rows[newPos].ItemArray = ldt.Rows[MAX].ItemArray;
                ldt.Rows[MAX].ItemArray = dr.ItemArray;
            }
            return ldt;
        }

        public DataTable CreateTable(DataView obDataView)
        {
            if (null == obDataView)
            {
                throw new ArgumentNullException("DataView", "Invalid DataView object specified");
            }
            DataTable obNewDt = obDataView.Table.Clone();
            int idx = 0;
            string[] strColNames = new string[obNewDt.Columns.Count];
            foreach (DataColumn col in obNewDt.Columns)
            {
                strColNames[idx++] = col.ColumnName;
            }
            IEnumerator viewEnumerator = obDataView.GetEnumerator();
            while (viewEnumerator.MoveNext())
            {
                DataRowView drv = (DataRowView)viewEnumerator.Current;
                DataRow dr = obNewDt.NewRow();
                try
                {
                    string[] array = strColNames;
                    foreach (string strName in array)
                    {
                        dr[strName] = drv[strName];
                    }
                }
                catch (Exception ex)
                {
                    Console.WriteLine(ex.Message);
                }
                obNewDt.Rows.Add(dr);
            }
            return obNewDt;
        }

        public DataTable topCountData(DataTable dt, int outcount)
        {
            DataTable topdt = dt.Clone();
            for (int i = 0; i < dt.Rows.Count; i++)
            {
                topdt.ImportRow(dt.Rows[i]);
                if (i + 1 == outcount)
                {
                    return topdt;
                }
            }
            return topdt;
        }

        private DataTable GetZhangjie()
        {
            string[] attributs = new string[7]
            {
                "no",
                "zhangjie",
                "type",
                "zcount",
                "feizhi",
                "count",
                "zfeizhi"
            };
            DataTable dt = null;
            // return GlobamParms.ReadXmlToDataTable(Application.StartupPath + "\\data\\ScaleXMLFile.xml", "scale", attributs);
            return GlobamParms.ReadXmlToDataTable(GlobamParms.GetAssemblyStream("data.ScaleXMLFile.xml"), "scale", attributs);
        }

        private void dtimes_Tick(object sender, EventArgs e)
        {
            lbl_time.Text = ts.Hours.ToString() + "小时" + ts.Minutes.ToString() + "分钟" + ts.Seconds.ToString() + "秒";
            ts = ts.Subtract(new TimeSpan(0, 0, -1));
        }

        private void btnAdd_Click(object sender, EventArgs e)
        {
            SubjectManagerForm sm = new SubjectManagerForm();
            sm.ShowDialog();
        }

        private void btn_UP_Click(object sender, EventArgs e)
        {
            if (nump > 1 && nump <= dtAll.Rows.Count)
            {
                if (lbltype.Text == "多选题" && txt_result.Text.Trim().Length == 1)
                {
                    MessageBox.Show("本题为多选题", "提示");
                    return;
                }
                saveAns(nump);
                nump--;
                saveAns(nump);
                bindTopic(dtAll, nump);
                Label lb = plS.Controls[nump - 1] as Label;
                lb.MouseEnter -= GlobamParms.label_MouseEnter;
                lb.MouseLeave -= GlobamParms.label_MouseLeave;
                lb.Image = Resources.quan;
                GlobamParms.labelClick(plS, lb);
            }
            txt_result.Focus();
        }

        private void btn_DOWN_Click(object sender, EventArgs e)
        {
            if (nump >= 1 && nump < dtAll.Rows.Count)
            {
                if (lbltype.Text == "多选题" && txt_result.Text.Trim().Length == 1)
                {
                    MessageBox.Show("本题为多选题", "提示");
                    return;
                }
                saveAns(nump);
                nump++;
                saveAns(nump);
                bindTopic(dtAll, nump);
                Label lb = plS.Controls[nump - 1] as Label;
                lb.MouseEnter -= GlobamParms.label_MouseEnter;
                lb.MouseLeave -= GlobamParms.label_MouseLeave;
                lb.Image = Resources.quan;
                GlobamParms.labelClick(plS, lb);
            }
            else if (nump == dtAll.Rows.Count)
            {
                saveAns(nump);
            }
            txt_result.Focus();
        }

        private void LbColor(int NO)
        {
            Label lb = plS.Controls[NO - 1] as Label;
            if (cbXSDA.Checked)
            {
                lb.BackColor = Color.Orange;
            }
            else
            {
                lb.ForeColor = Color.Transparent;
            }
            if (dicans.ContainsKey(NO))
            {
                Label lbs = plS.Controls[NO - 1] as Label;
                if (lblZQDA.Text == dicans[NO])
                {
                    lbs.ForeColor = Color.Lime;
                }
                else
                {
                    lbs.ForeColor = Color.Black;
                }
            }
        }

        private void saveAns(int NO)
        {
            string ans4 = "";
            if (dicans.ContainsKey(NO))
            {
                if (dicans[NO].ToString() == "")
                {
                    ans4 = txt_result.Text.Trim();
                }
                else
                {
                    ans4 = txt_result.Text.Trim();
                    if (txt_result.Text == "")
                    {
                        txt_result.Text = dicans[NO];
                    }
                }
            }
            ans4 = txt_result.Text.Trim();
            dicans.Remove(NO);
            dicans.Add(NO, ans4);
            Label lb = plS.Controls[NO - 1] as Label;
            lb.ForeColor = Color.PaleGoldenrod;
            if (txt_result.Text.Trim() != "" && lb.ForeColor == Color.PaleGoldenrod)
            {
                LbColor(NO);
            }
            txt_result.Text = "";
        }

        private void label12_Click(object sender, EventArgs e)
        {
            txt_result.Text = "1";
        }

        private void label13_Click(object sender, EventArgs e)
        {
            txt_result.Text = "2";
        }

        private void lbDA_Click(object sender, EventArgs e)
        {
            if (!txt_result.Text.Contains("1"))
            {
                if (txt_result.Text.Trim().IndexOf("1") == -1)
                {
                    txt_result.Text += "1";
                }
            }
            else
            {
                txt_result.Text = txt_result.Text.Replace("1", "");
            }
        }

        private void lbDB_Click(object sender, EventArgs e)
        {
            if (!txt_result.Text.Contains("2"))
            {
                if (txt_result.Text.Trim().IndexOf("2") == -1)
                {
                    txt_result.Text += "2";
                }
            }
            else
            {
                txt_result.Text = txt_result.Text.Replace("2", "");
            }
        }

        private void lbDC_Click(object sender, EventArgs e)
        {
            if (!txt_result.Text.Contains("3"))
            {
                if (txt_result.Text.Trim().IndexOf("3") == -1)
                {
                    txt_result.Text += "3";
                }
            }
            else
            {
                txt_result.Text = txt_result.Text.Replace("3", "");
            }
        }

        private void lbDD_Click(object sender, EventArgs e)
        {
            if (!txt_result.Text.Contains("4"))
            {
                if (txt_result.Text.Trim().IndexOf("4") == -1)
                {
                    txt_result.Text += "4";
                }
            }
            else
            {
                txt_result.Text = txt_result.Text.Replace("4", "");
            }
        }

        private void duoxuanPaixu2()
        {
            if (txt_result.Text == "123" || txt_result.Text == "132" || txt_result.Text == "213" || txt_result.Text == "231" || txt_result.Text == "312" || txt_result.Text == "321")
            {
                txt_result.Text = "123";
            }
            else if (txt_result.Text == "12" || txt_result.Text == "21")
            {
                txt_result.Text = "12";
            }
            else if (txt_result.Text == "13" || txt_result.Text == "31")
            {
                txt_result.Text = "13";
            }
            else if (txt_result.Text == "23" || txt_result.Text == "32")
            {
                txt_result.Text = "23";
            }
        }

        private void duoxuanPaixu()
        {
            string result = txt_result.Text;
            if (string.IsNullOrEmpty(result) || result.Trim().Length == 0)
                return;

            string strReturn = string.Empty;
            string[] answers = { "1", "2", "3", "4" };
            foreach (string item in answers)
            {
                if (result.Contains(item))
                {
                    strReturn += item;
                }
            }

            txt_result.Text = strReturn;
        }



        private void lbXA_Click(object sender, EventArgs e)
        {
            txt_result.Text = "1";
        }

        private void lbXB_Click(object sender, EventArgs e)
        {
            txt_result.Text = "2";
        }

        private void lbXC_Click(object sender, EventArgs e)
        {
            txt_result.Text = "3";
        }

        private void btnExit_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("确定要退出随机练习吗？", "提示", MessageBoxButtons.YesNo) == DialogResult.Yes)
            {
                Close();
            }
        }

        private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            GlobamParms.sjlxform = null;
            GlobamParms.firstform.WindowState = FormWindowState.Normal;
        }

        private void cbXSDA_CheckedChanged(object sender, EventArgs e)
        {
            lblZQDA.Visible = label7.Visible = lblJieShi.Visible = cbXSDA.Checked;
            txt_result.Focus();
        }

        private void txt_result_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Left)
            {
                btn_UP_Click(sender, e);
            }
            else if (e.KeyCode == Keys.Right)
            {
                btn_DOWN_Click(sender, e);
            }
            else if (e.KeyCode == Keys.Return)
            {
                btn_DOWN_Click(sender, e);
            }
        }

        private void txt_result_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == '\b')
            {
                return;
            }
            if (lbltype.Text != "判断题")
            {
                if ((lbltype.Text == "单选题" && (e.KeyChar < '1' || e.KeyChar > '3'))
                    || (lbltype.Text == "多选题" && (e.KeyChar < '1' || e.KeyChar > '4')))
                {
                    e.Handled = true;
                }
                else if (lbltype.Text == "多选题")
                {
                    if (!txt_result.Text.Contains(e.KeyChar.ToString()))
                    {
                        if (txt_result.Text.Trim().IndexOf(e.KeyChar.ToString()) == -1)
                        {
                            txt_result.Text += e.KeyChar.ToString();
                        }
                    }
                    else
                    {
                        txt_result.Text = txt_result.Text.Replace(e.KeyChar.ToString(), "");
                    }
                }
                else if (!txt_result.Text.Contains(e.KeyChar.ToString()))
                {
                    if (txt_result.Text.Trim().IndexOf(e.KeyChar.ToString()) == -1)
                    {
                        txt_result.Text = e.KeyChar.ToString();
                    }
                }
                else
                {
                    txt_result.Text = txt_result.Text.Replace(e.KeyChar.ToString(), "");
                }
            }
            else if (e.KeyChar < '1' || e.KeyChar > '2')
            {
                e.Handled = true;
            }
            else if (!txt_result.Text.Contains(e.KeyChar.ToString()))
            {
                if (txt_result.Text.Trim().IndexOf(e.KeyChar.ToString()) == -1)
                {
                    txt_result.Text = e.KeyChar.ToString();
                }
            }
            else
            {
                txt_result.Text = txt_result.Text.Replace(e.KeyChar.ToString(), "");
            }
        }

        private void btn_submit_Click(object sender, EventArgs e)
        {
            saveAns(nump);
            for (int i = 1; i <= dicBans.Count; i++)
            {
                if (dicans[i] == dicBans[i])
                {
                    fenshu += dicFenzhi[i];
                }
            }
            MessageBox.Show("    “本套试题总分：" + zongfen + "分，您目前得分：" + fenshu + "分”\n\r点确定仍回到随机练习界面，不点退出可继续答题。");
            fenshu = 0.0;
        }

        private void txt_result_TextChanged(object sender, EventArgs e)
        {
            txt_result.Text = GlobamParms.GetStr(txt_result.Text.Trim());
            duoxuanPaixu();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && components != null)
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SJLXForm));
            this.dtimes = new System.Windows.Forms.Timer(this.components);
            this.panel6 = new System.Windows.Forms.Panel();
            this.btn_submit = new System.Windows.Forms.Button();
            this.panel = new System.Windows.Forms.Panel();
            this.paDXT = new System.Windows.Forms.Panel();
            this.lbDD = new System.Windows.Forms.Label();
            this.lbDC = new System.Windows.Forms.Label();
            this.lbDA = new System.Windows.Forms.Label();
            this.lbDB = new System.Windows.Forms.Label();
            this.panel10 = new System.Windows.Forms.Panel();
            this.lblSubject = new System.Windows.Forms.Label();
            this.imageIcon = new System.Windows.Forms.Panel();
            this.lblf = new System.Windows.Forms.Label();
            this.lbltype = new System.Windows.Forms.Label();
            this.label10 = new System.Windows.Forms.Label();
            this.plPDT = new System.Windows.Forms.Panel();
            this.label12 = new System.Windows.Forms.Label();
            this.label13 = new System.Windows.Forms.Label();
            this.paXZT = new System.Windows.Forms.Panel();
            this.lbXC = new System.Windows.Forms.Label();
            this.lbXA = new System.Windows.Forms.Label();
            this.lbXB = new System.Windows.Forms.Label();
            this.label7 = new System.Windows.Forms.Label();
            this.lblZQDA = new System.Windows.Forms.Label();
            this.cbXSDA = new System.Windows.Forms.CheckBox();
            this.btn_DOWN = new System.Windows.Forms.Button();
            this.btn_UP = new System.Windows.Forms.Button();
            this.label16 = new System.Windows.Forms.Label();
            this.label15 = new System.Windows.Forms.Label();
            this.txt_result = new System.Windows.Forms.TextBox();
            this.label14 = new System.Windows.Forms.Label();
            this.panel12 = new System.Windows.Forms.Panel();
            this.btnExit = new System.Windows.Forms.Button();
            this.panel11 = new System.Windows.Forms.Panel();
            this.panel8 = new System.Windows.Forms.Panel();
            this.panel4 = new System.Windows.Forms.Panel();
            this.label3 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.lbl_time = new System.Windows.Forms.Label();
            this.plS = new System.Windows.Forms.Panel();
            this.label1 = new System.Windows.Forms.Label();
            this.panel9 = new System.Windows.Forms.Panel();
            this.panel7 = new System.Windows.Forms.Panel();
            this.panel5 = new System.Windows.Forms.Panel();
            this.plQJ = new System.Windows.Forms.Panel();
            this.lblQJ = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label11 = new System.Windows.Forms.Label();
            this.lblQJcount = new System.Windows.Forms.Label();
            this.label18 = new System.Windows.Forms.Label();
            this.plZJ = new System.Windows.Forms.Panel();
            this.lblZJ = new System.Windows.Forms.Label();
            this.label19 = new System.Windows.Forms.Label();
            this.label20 = new System.Windows.Forms.Label();
            this.label21 = new System.Windows.Forms.Label();
            this.lblZJcount = new System.Windows.Forms.Label();
            this.label22 = new System.Windows.Forms.Label();
            this.panel3 = new System.Windows.Forms.Panel();
            this.panel2 = new System.Windows.Forms.Panel();
            this.lblJieShi = new System.Windows.Forms.Label();
            this.panel6.SuspendLayout();
            this.panel.SuspendLayout();
            this.paDXT.SuspendLayout();
            this.panel10.SuspendLayout();
            this.plPDT.SuspendLayout();
            this.paXZT.SuspendLayout();
            this.panel12.SuspendLayout();
            this.panel4.SuspendLayout();
            this.plQJ.SuspendLayout();
            this.plZJ.SuspendLayout();
            this.SuspendLayout();
            // 
            // dtimes
            // 
            this.dtimes.Interval = 1000;
            this.dtimes.Tick += new System.EventHandler(this.dtimes_Tick);
            // 
            // panel6
            // 
            this.panel6.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.panel6.BackgroundImage = global::道路运输从业人员无纸化考试系统.Properties.Resources.窗体背景;
            this.panel6.Controls.Add(this.lblJieShi);
            this.panel6.Controls.Add(this.btn_submit);
            this.panel6.Controls.Add(this.panel);
            this.panel6.Controls.Add(this.label7);
            this.panel6.Controls.Add(this.lblZQDA);
            this.panel6.Controls.Add(this.cbXSDA);
            this.panel6.Controls.Add(this.btn_DOWN);
            this.panel6.Controls.Add(this.btn_UP);
            this.panel6.Controls.Add(this.label16);
            this.panel6.Controls.Add(this.label15);
            this.panel6.Controls.Add(this.txt_result);
            this.panel6.Controls.Add(this.label14);
            this.panel6.Controls.Add(this.panel12);
            this.panel6.Controls.Add(this.panel11);
            this.panel6.Controls.Add(this.panel8);
            this.panel6.Location = new System.Drawing.Point(248, 86);
            this.panel6.Name = "panel6";
            this.panel6.Size = new System.Drawing.Size(778, 641);
            this.panel6.TabIndex = 4;
            // 
            // btn_submit
            // 
            this.btn_submit.BackColor = System.Drawing.Color.Transparent;
            this.btn_submit.Image = global::道路运输从业人员无纸化考试系统.Properties.Resources.评分;
            this.btn_submit.Location = new System.Drawing.Point(675, 429);
            this.btn_submit.Name = "btn_submit";
            this.btn_submit.Size = new System.Drawing.Size(90, 34);
            this.btn_submit.TabIndex = 14;
            this.btn_submit.UseVisualStyleBackColor = false;
            this.btn_submit.Click += new System.EventHandler(this.btn_submit_Click);
            // 
            // panel
            // 
            this.panel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.panel.BackColor = System.Drawing.Color.Transparent;
            this.panel.Controls.Add(this.paDXT);
            this.panel.Controls.Add(this.panel10);
            this.panel.Controls.Add(this.imageIcon);
            this.panel.Controls.Add(this.lblf);
            this.panel.Controls.Add(this.lbltype);
            this.panel.Controls.Add(this.label10);
            this.panel.Controls.Add(this.plPDT);
            this.panel.Controls.Add(this.paXZT);
            this.panel.Location = new System.Drawing.Point(7, 80);
            this.panel.Name = "panel";
            this.panel.Size = new System.Drawing.Size(745, 280);
            this.panel.TabIndex = 13;
            // 
            // paDXT
            // 
            this.paDXT.Controls.Add(this.lbDD);
            this.paDXT.Controls.Add(this.lbDC);
            this.paDXT.Controls.Add(this.lbDA);
            this.paDXT.Controls.Add(this.lbDB);
            this.paDXT.Location = new System.Drawing.Point(19, 86);
            this.paDXT.Name = "paDXT";
            this.paDXT.Size = new System.Drawing.Size(460, 191);
            this.paDXT.TabIndex = 3;
            this.paDXT.Visible = false;
            // 
            // lbDD
            // 
            this.lbDD.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lbDD.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.lbDD.Location = new System.Drawing.Point(29, 151);
            this.lbDD.Name = "lbDD";
            this.lbDD.Size = new System.Drawing.Size(422, 30);
            this.lbDD.TabIndex = 5;
            this.lbDD.Text = "4";
            this.lbDD.Click += new System.EventHandler(this.lbDD_Click);
            // 
            // lbDC
            // 
            this.lbDC.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lbDC.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.lbDC.Location = new System.Drawing.Point(29, 106);
            this.lbDC.Name = "lbDC";
            this.lbDC.Size = new System.Drawing.Size(422, 30);
            this.lbDC.TabIndex = 4;
            this.lbDC.Text = "3";
            this.lbDC.Click += new System.EventHandler(this.lbDC_Click);
            // 
            // lbDA
            // 
            this.lbDA.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lbDA.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.lbDA.Location = new System.Drawing.Point(29, 16);
            this.lbDA.Name = "lbDA";
            this.lbDA.Size = new System.Drawing.Size(422, 30);
            this.lbDA.TabIndex = 3;
            this.lbDA.Text = "1";
            this.lbDA.Click += new System.EventHandler(this.lbDA_Click);
            // 
            // lbDB
            // 
            this.lbDB.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lbDB.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.lbDB.Location = new System.Drawing.Point(29, 61);
            this.lbDB.Name = "lbDB";
            this.lbDB.Size = new System.Drawing.Size(422, 30);
            this.lbDB.TabIndex = 2;
            this.lbDB.Text = "2";
            this.lbDB.Click += new System.EventHandler(this.lbDB_Click);
            // 
            // panel10
            // 
            this.panel10.Controls.Add(this.lblSubject);
            this.panel10.Location = new System.Drawing.Point(19, 3);
            this.panel10.Name = "panel10";
            this.panel10.Size = new System.Drawing.Size(707, 62);
            this.panel10.TabIndex = 4;
            // 
            // lblSubject
            // 
            this.lblSubject.Font = new System.Drawing.Font("宋体", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblSubject.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.lblSubject.Location = new System.Drawing.Point(0, 0);
            this.lblSubject.Name = "lblSubject";
            this.lblSubject.Size = new System.Drawing.Size(700, 60);
            this.lblSubject.TabIndex = 0;
            this.lblSubject.Text = "1．国务院交通主管部门主管全国道路运输管理工作。";
            this.lblSubject.UseCompatibleTextRendering = true;
            // 
            // imageIcon
            // 
            this.imageIcon.Location = new System.Drawing.Point(485, 86);
            this.imageIcon.Name = "imageIcon";
            this.imageIcon.Size = new System.Drawing.Size(241, 191);
            this.imageIcon.TabIndex = 2;
            // 
            // lblf
            // 
            this.lblf.AutoSize = true;
            this.lblf.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblf.ForeColor = System.Drawing.Color.Orange;
            this.lblf.Location = new System.Drawing.Point(152, 70);
            this.lblf.Name = "lblf";
            this.lblf.Size = new System.Drawing.Size(71, 12);
            this.lblf.TabIndex = 0;
            this.lblf.Text = "分数为1分)";
            // 
            // lbltype
            // 
            this.lbltype.AutoSize = true;
            this.lbltype.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lbltype.ForeColor = System.Drawing.Color.Orange;
            this.lbltype.Location = new System.Drawing.Point(98, 70);
            this.lbltype.Name = "lbltype";
            this.lbltype.Size = new System.Drawing.Size(44, 12);
            this.lbltype.TabIndex = 0;
            this.lbltype.Text = "判断题";
            // 
            // label10
            // 
            this.label10.AutoSize = true;
            this.label10.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label10.ForeColor = System.Drawing.Color.Orange;
            this.label10.Location = new System.Drawing.Point(36, 69);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(58, 12);
            this.label10.TabIndex = 0;
            this.label10.Text = "(本题为 ";
            // 
            // plPDT
            // 
            this.plPDT.Controls.Add(this.label12);
            this.plPDT.Controls.Add(this.label13);
            this.plPDT.Location = new System.Drawing.Point(19, 86);
            this.plPDT.Name = "plPDT";
            this.plPDT.Size = new System.Drawing.Size(460, 191);
            this.plPDT.TabIndex = 1;
            this.plPDT.Visible = false;
            // 
            // label12
            // 
            this.label12.AutoSize = true;
            this.label12.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label12.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.label12.Location = new System.Drawing.Point(29, 16);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(60, 14);
            this.label12.TabIndex = 0;
            this.label12.Text = "1、正确";
            this.label12.Click += new System.EventHandler(this.label12_Click);
            // 
            // label13
            // 
            this.label13.AutoSize = true;
            this.label13.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label13.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.label13.Location = new System.Drawing.Point(29, 47);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(60, 14);
            this.label13.TabIndex = 0;
            this.label13.Text = "2、错误";
            this.label13.Click += new System.EventHandler(this.label13_Click);
            // 
            // paXZT
            // 
            this.paXZT.Controls.Add(this.lbXC);
            this.paXZT.Controls.Add(this.lbXA);
            this.paXZT.Controls.Add(this.lbXB);
            this.paXZT.Location = new System.Drawing.Point(19, 86);
            this.paXZT.Name = "paXZT";
            this.paXZT.Size = new System.Drawing.Size(460, 188);
            this.paXZT.TabIndex = 2;
            this.paXZT.Visible = false;
            // 
            // lbXC
            // 
            this.lbXC.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lbXC.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.lbXC.Location = new System.Drawing.Point(32, 84);
            this.lbXC.Name = "lbXC";
            this.lbXC.Size = new System.Drawing.Size(425, 30);
            this.lbXC.TabIndex = 1;
            this.lbXC.Text = "3";
            this.lbXC.Click += new System.EventHandler(this.lbXC_Click);
            // 
            // lbXA
            // 
            this.lbXA.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lbXA.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.lbXA.Location = new System.Drawing.Point(29, 16);
            this.lbXA.Name = "lbXA";
            this.lbXA.Size = new System.Drawing.Size(428, 30);
            this.lbXA.TabIndex = 0;
            this.lbXA.Text = "1";
            this.lbXA.Click += new System.EventHandler(this.lbXA_Click);
            // 
            // lbXB
            // 
            this.lbXB.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lbXB.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.lbXB.Location = new System.Drawing.Point(29, 50);
            this.lbXB.Name = "lbXB";
            this.lbXB.Size = new System.Drawing.Size(428, 30);
            this.lbXB.TabIndex = 0;
            this.lbXB.Text = "2";
            this.lbXB.Click += new System.EventHandler(this.lbXB_Click);
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.BackColor = System.Drawing.Color.Yellow;
            this.label7.Location = new System.Drawing.Point(401, 443);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(65, 12);
            this.label7.TabIndex = 12;
            this.label7.Text = "正确答案：";
            this.label7.Visible = false;
            // 
            // lblZQDA
            // 
            this.lblZQDA.AutoSize = true;
            this.lblZQDA.BackColor = System.Drawing.Color.Yellow;
            this.lblZQDA.Location = new System.Drawing.Point(466, 443);
            this.lblZQDA.Name = "lblZQDA";
            this.lblZQDA.Size = new System.Drawing.Size(11, 12);
            this.lblZQDA.TabIndex = 11;
            this.lblZQDA.Text = "1";
            this.lblZQDA.Visible = false;
            // 
            // cbXSDA
            // 
            this.cbXSDA.AutoSize = true;
            this.cbXSDA.ForeColor = System.Drawing.Color.Red;
            this.cbXSDA.Location = new System.Drawing.Point(329, 442);
            this.cbXSDA.Name = "cbXSDA";
            this.cbXSDA.Size = new System.Drawing.Size(72, 16);
            this.cbXSDA.TabIndex = 10;
            this.cbXSDA.Text = "显示答案";
            this.cbXSDA.UseVisualStyleBackColor = true;
            this.cbXSDA.CheckedChanged += new System.EventHandler(this.cbXSDA_CheckedChanged);
            // 
            // btn_DOWN
            // 
            this.btn_DOWN.BackColor = System.Drawing.Color.Transparent;
            this.btn_DOWN.Image = global::道路运输从业人员无纸化考试系统.Properties.Resources.下一题;
            this.btn_DOWN.Location = new System.Drawing.Point(579, 429);
            this.btn_DOWN.Name = "btn_DOWN";
            this.btn_DOWN.Size = new System.Drawing.Size(90, 34);
            this.btn_DOWN.TabIndex = 9;
            this.btn_DOWN.UseVisualStyleBackColor = false;
            this.btn_DOWN.Click += new System.EventHandler(this.btn_DOWN_Click);
            // 
            // btn_UP
            // 
            this.btn_UP.BackColor = System.Drawing.Color.Transparent;
            this.btn_UP.Image = global::道路运输从业人员无纸化考试系统.Properties.Resources.上一题;
            this.btn_UP.Location = new System.Drawing.Point(483, 429);
            this.btn_UP.Name = "btn_UP";
            this.btn_UP.Size = new System.Drawing.Size(90, 34);
            this.btn_UP.TabIndex = 9;
            this.btn_UP.UseVisualStyleBackColor = false;
            this.btn_UP.Click += new System.EventHandler(this.btn_UP_Click);
            // 
            // label16
            // 
            this.label16.AutoSize = true;
            this.label16.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label16.ForeColor = System.Drawing.Color.Orange;
            this.label16.Location = new System.Drawing.Point(44, 472);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(200, 12);
            this.label16.TabIndex = 8;
            this.label16.Text = "注：点选显示正确答案为黄色背景";
            // 
            // label15
            // 
            this.label15.AutoSize = true;
            this.label15.BackColor = System.Drawing.Color.Transparent;
            this.label15.Location = new System.Drawing.Point(222, 443);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(113, 12);
            this.label15.TabIndex = 6;
            this.label15.Text = "是否显示正确答案：";
            // 
            // txt_result
            // 
            this.txt_result.Location = new System.Drawing.Point(93, 437);
            this.txt_result.Name = "txt_result";
            this.txt_result.Size = new System.Drawing.Size(111, 21);
            this.txt_result.TabIndex = 5;
            this.txt_result.TextChanged += new System.EventHandler(this.txt_result_TextChanged);
            this.txt_result.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_result_KeyDown);
            this.txt_result.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_result_KeyPress);
            // 
            // label14
            // 
            this.label14.AutoSize = true;
            this.label14.BackColor = System.Drawing.Color.Transparent;
            this.label14.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label14.ForeColor = System.Drawing.Color.Orange;
            this.label14.Location = new System.Drawing.Point(32, 439);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(69, 19);
            this.label14.TabIndex = 4;
            this.label14.Text = "答案：";
            // 
            // panel12
            // 
            this.panel12.BackColor = System.Drawing.Color.Transparent;
            this.panel12.Controls.Add(this.btnExit);
            this.panel12.Location = new System.Drawing.Point(534, 367);
            this.panel12.Name = "panel12";
            this.panel12.Size = new System.Drawing.Size(218, 43);
            this.panel12.TabIndex = 2;
            // 
            // btnExit
            // 
            this.btnExit.BackgroundImage = global::道路运输从业人员无纸化考试系统.Properties.Resources.退出系统;
            this.btnExit.Location = new System.Drawing.Point(0, 0);
            this.btnExit.Name = "btnExit";
            this.btnExit.Size = new System.Drawing.Size(218, 43);
            this.btnExit.TabIndex = 0;
            this.btnExit.UseVisualStyleBackColor = true;
            this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
            // 
            // panel11
            // 
            this.panel11.BackColor = System.Drawing.Color.Transparent;
            this.panel11.BackgroundImage = global::道路运输从业人员无纸化考试系统.Properties.Resources.答题区;
            this.panel11.Location = new System.Drawing.Point(1, 366);
            this.panel11.Name = "panel11";
            this.panel11.Size = new System.Drawing.Size(532, 44);
            this.panel11.TabIndex = 1;
            // 
            // panel8
            // 
            this.panel8.BackColor = System.Drawing.Color.Transparent;
            this.panel8.BackgroundImage = global::道路运输从业人员无纸化考试系统.Properties.Resources.试题信息;
            this.panel8.Location = new System.Drawing.Point(2, 3);
            this.panel8.Name = "panel8";
            this.panel8.Size = new System.Drawing.Size(750, 44);
            this.panel8.TabIndex = 0;
            // 
            // panel4
            // 
            this.panel4.BackgroundImage = global::道路运输从业人员无纸化考试系统.Properties.Resources.窗体左侧背景;
            this.panel4.Controls.Add(this.label3);
            this.panel4.Controls.Add(this.label2);
            this.panel4.Controls.Add(this.lbl_time);
            this.panel4.Controls.Add(this.plS);
            this.panel4.Controls.Add(this.label1);
            this.panel4.Controls.Add(this.panel9);
            this.panel4.Controls.Add(this.panel7);
            this.panel4.Controls.Add(this.panel5);
            this.panel4.Controls.Add(this.plQJ);
            this.panel4.Controls.Add(this.plZJ);
            this.panel4.Location = new System.Drawing.Point(1, 85);
            this.panel4.Name = "panel4";
            this.panel4.Size = new System.Drawing.Size(248, 645);
            this.panel4.TabIndex = 3;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.BackColor = System.Drawing.Color.Transparent;
            this.label3.Location = new System.Drawing.Point(188, 283);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(29, 12);
            this.label3.TabIndex = 19;
            this.label3.Text = "黑色";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.ForeColor = System.Drawing.Color.Lime;
            this.label2.Location = new System.Drawing.Point(93, 283);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(29, 12);
            this.label2.TabIndex = 18;
            this.label2.Text = "绿色";
            // 
            // lbl_time
            // 
            this.lbl_time.AutoSize = true;
            this.lbl_time.BackColor = System.Drawing.Color.Transparent;
            this.lbl_time.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lbl_time.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.lbl_time.Location = new System.Drawing.Point(79, 205);
            this.lbl_time.Name = "lbl_time";
            this.lbl_time.Size = new System.Drawing.Size(91, 12);
            this.lbl_time.TabIndex = 7;
            this.lbl_time.Text = "0小时0分钟0秒";
            // 
            // plS
            // 
            this.plS.AutoScroll = true;
            this.plS.BackColor = System.Drawing.Color.Transparent;
            this.plS.Location = new System.Drawing.Point(1, 310);
            this.plS.Name = "plS";
            this.plS.Size = new System.Drawing.Size(241, 304);
            this.plS.TabIndex = 5;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.ForeColor = System.Drawing.Color.Yellow;
            this.label1.Location = new System.Drawing.Point(7, 283);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(209, 12);
            this.label1.TabIndex = 4;
            this.label1.Text = "注：答题正确为绿色，答题错误为黑色";
            // 
            // panel9
            // 
            this.panel9.BackColor = System.Drawing.Color.Transparent;
            this.panel9.BackgroundImage = global::道路运输从业人员无纸化考试系统.Properties.Resources.快速选题;
            this.panel9.Location = new System.Drawing.Point(0, 232);
            this.panel9.Name = "panel9";
            this.panel9.Size = new System.Drawing.Size(234, 40);
            this.panel9.TabIndex = 3;
            // 
            // panel7
            // 
            this.panel7.BackColor = System.Drawing.Color.Transparent;
            this.panel7.BackgroundImage = global::道路运输从业人员无纸化考试系统.Properties.Resources.计时;
            this.panel7.Location = new System.Drawing.Point(0, 152);
            this.panel7.Name = "panel7";
            this.panel7.Size = new System.Drawing.Size(234, 40);
            this.panel7.TabIndex = 2;
            // 
            // panel5
            // 
            this.panel5.BackColor = System.Drawing.Color.Transparent;
            this.panel5.BackgroundImage = global::道路运输从业人员无纸化考试系统.Properties.Resources.计时1;
            this.panel5.Location = new System.Drawing.Point(0, 3);
            this.panel5.Name = "panel5";
            this.panel5.Size = new System.Drawing.Size(234, 43);
            this.panel5.TabIndex = 0;
            // 
            // plQJ
            // 
            this.plQJ.BackColor = System.Drawing.Color.Transparent;
            this.plQJ.Controls.Add(this.lblQJ);
            this.plQJ.Controls.Add(this.label4);
            this.plQJ.Controls.Add(this.label5);
            this.plQJ.Controls.Add(this.label11);
            this.plQJ.Controls.Add(this.lblQJcount);
            this.plQJ.Controls.Add(this.label18);
            this.plQJ.Location = new System.Drawing.Point(3, 46);
            this.plQJ.Name = "plQJ";
            this.plQJ.Size = new System.Drawing.Size(231, 100);
            this.plQJ.TabIndex = 21;
            // 
            // lblQJ
            // 
            this.lblQJ.AutoSize = true;
            this.lblQJ.BackColor = System.Drawing.Color.Transparent;
            this.lblQJ.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblQJ.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.lblQJ.Location = new System.Drawing.Point(72, 44);
            this.lblQJ.Name = "lblQJ";
            this.lblQJ.Size = new System.Drawing.Size(92, 12);
            this.lblQJ.TabIndex = 18;
            this.lblQJ.Text = "第11题到100题";
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.BackColor = System.Drawing.Color.Transparent;
            this.label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label4.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.label4.Location = new System.Drawing.Point(72, 20);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(44, 12);
            this.label4.TabIndex = 15;
            this.label4.Text = "按区间";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.BackColor = System.Drawing.Color.Transparent;
            this.label5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label5.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.label5.Location = new System.Drawing.Point(1, 20);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(70, 12);
            this.label5.TabIndex = 14;
            this.label5.Text = "出题方式：";
            // 
            // label11
            // 
            this.label11.AutoSize = true;
            this.label11.BackColor = System.Drawing.Color.Transparent;
            this.label11.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label11.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.label11.Location = new System.Drawing.Point(1, 68);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(70, 12);
            this.label11.TabIndex = 11;
            this.label11.Text = "包含题数：";
            // 
            // lblQJcount
            // 
            this.lblQJcount.AutoSize = true;
            this.lblQJcount.BackColor = System.Drawing.Color.Transparent;
            this.lblQJcount.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblQJcount.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.lblQJcount.Location = new System.Drawing.Point(72, 68);
            this.lblQJcount.Name = "lblQJcount";
            this.lblQJcount.Size = new System.Drawing.Size(31, 12);
            this.lblQJcount.TabIndex = 12;
            this.lblQJcount.Text = "数量";
            // 
            // label18
            // 
            this.label18.AutoSize = true;
            this.label18.BackColor = System.Drawing.Color.Transparent;
            this.label18.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label18.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.label18.Location = new System.Drawing.Point(1, 44);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(70, 12);
            this.label18.TabIndex = 13;
            this.label18.Text = "题号区间：";
            // 
            // plZJ
            // 
            this.plZJ.BackColor = System.Drawing.Color.Transparent;
            this.plZJ.Controls.Add(this.lblZJ);
            this.plZJ.Controls.Add(this.label19);
            this.plZJ.Controls.Add(this.label20);
            this.plZJ.Controls.Add(this.label21);
            this.plZJ.Controls.Add(this.lblZJcount);
            this.plZJ.Controls.Add(this.label22);
            this.plZJ.Location = new System.Drawing.Point(3, 46);
            this.plZJ.Name = "plZJ";
            this.plZJ.Size = new System.Drawing.Size(231, 100);
            this.plZJ.TabIndex = 20;
            // 
            // lblZJ
            // 
            this.lblZJ.AutoSize = true;
            this.lblZJ.BackColor = System.Drawing.Color.Transparent;
            this.lblZJ.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblZJ.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.lblZJ.Location = new System.Drawing.Point(72, 45);
            this.lblZJ.Name = "lblZJ";
            this.lblZJ.Size = new System.Drawing.Size(57, 12);
            this.lblZJ.TabIndex = 16;
            this.lblZJ.Text = "章节名称";
            // 
            // label19
            // 
            this.label19.AutoSize = true;
            this.label19.BackColor = System.Drawing.Color.Transparent;
            this.label19.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label19.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.label19.Location = new System.Drawing.Point(72, 20);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(44, 12);
            this.label19.TabIndex = 15;
            this.label19.Text = "按章节";
            // 
            // label20
            // 
            this.label20.AutoSize = true;
            this.label20.BackColor = System.Drawing.Color.Transparent;
            this.label20.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label20.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.label20.Location = new System.Drawing.Point(1, 20);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(70, 12);
            this.label20.TabIndex = 14;
            this.label20.Text = "出题方式：";
            // 
            // label21
            // 
            this.label21.AutoSize = true;
            this.label21.BackColor = System.Drawing.Color.Transparent;
            this.label21.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label21.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.label21.Location = new System.Drawing.Point(1, 68);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(70, 12);
            this.label21.TabIndex = 11;
            this.label21.Text = "包含题数：";
            // 
            // lblZJcount
            // 
            this.lblZJcount.AutoSize = true;
            this.lblZJcount.BackColor = System.Drawing.Color.Transparent;
            this.lblZJcount.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblZJcount.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.lblZJcount.Location = new System.Drawing.Point(72, 68);
            this.lblZJcount.Name = "lblZJcount";
            this.lblZJcount.Size = new System.Drawing.Size(31, 12);
            this.lblZJcount.TabIndex = 12;
            this.lblZJcount.Text = "数量";
            // 
            // label22
            // 
            this.label22.AutoSize = true;
            this.label22.BackColor = System.Drawing.Color.Transparent;
            this.label22.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label22.ForeColor = System.Drawing.Color.PaleGoldenrod;
            this.label22.Location = new System.Drawing.Point(1, 44);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(70, 12);
            this.label22.TabIndex = 13;
            this.label22.Text = "所属章节：";
            // 
            // panel3
            // 
            this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.panel3.BackgroundImage = global::道路运输从业人员无纸化考试系统.Properties.Resources.横切面;
            this.panel3.Location = new System.Drawing.Point(801, 2);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(225, 81);
            this.panel3.TabIndex = 2;
            // 
            // panel2
            // 
            this.panel2.BackgroundImage = global::道路运输从业人员无纸化考试系统.Properties.Resources.top1;
            this.panel2.Location = new System.Drawing.Point(1, 2);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(800, 81);
            this.panel2.TabIndex = 1;
            // 
            // lblJieShi
            // 
            this.lblJieShi.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.lblJieShi.BackColor = System.Drawing.Color.Transparent;
            this.lblJieShi.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblJieShi.ForeColor = System.Drawing.Color.Red;
            this.lblJieShi.Location = new System.Drawing.Point(300, 472);
            this.lblJieShi.Name = "lblJieShi";
            this.lblJieShi.Size = new System.Drawing.Size(452, 163);
            this.lblJieShi.TabIndex = 15;
            this.lblJieShi.Text = "1";
            this.lblJieShi.Visible = false;
            // 
            // SJLXForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1025, 730);
            this.Controls.Add(this.panel6);
            this.Controls.Add(this.panel4);
            this.Controls.Add(this.panel3);
            this.Controls.Add(this.panel2);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "SJLXForm";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "道路运输从业人员无纸化考试系统";
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed);
            this.Load += new System.EventHandler(this.MainForm_Load);
            this.panel6.ResumeLayout(false);
            this.panel6.PerformLayout();
            this.panel.ResumeLayout(false);
            this.panel.PerformLayout();
            this.paDXT.ResumeLayout(false);
            this.panel10.ResumeLayout(false);
            this.plPDT.ResumeLayout(false);
            this.plPDT.PerformLayout();
            this.paXZT.ResumeLayout(false);
            this.panel12.ResumeLayout(false);
            this.panel4.ResumeLayout(false);
            this.panel4.PerformLayout();
            this.plQJ.ResumeLayout(false);
            this.plQJ.PerformLayout();
            this.plZJ.ResumeLayout(false);
            this.plZJ.PerformLayout();
            this.ResumeLayout(false);

        }


    }
}
